const fs = require('fs');
const path = require('path');
const JSON5 = require('json5');

const json = fs.readFileSync(path.join(__dirname,'./userinfo.json5'),'utf-8');
//console.log('json:',json);

const obj = JSON5.parse(json);
console.log('obj:',obj);